package com.sailors.common.task.provider.infra.repository.factories;

import com.sailors.common.task.provider.infra.design.common.util.BeanHelper;

public class FileTaskRepositoryFactory {

    /**
     * 通过Class名称获取bean
     *
     * @param tClass
     * @return
     */
    public static <T> T getRepository(Class<T> tClass) {
        return BeanHelper.getBean(tClass);
    }
}
